Repository navigation
[INFRA-843] fix(security): build caddy on 2.11.7 with x/net v0.60.0 - #9988
Conversation
The caddy binary in plane-proxy, plane-frontend, plane-admin and the community AIO carried golang.org/x/net v0.57.0 (CVE-2026-78669) and the Go 1.26.8 stdlib from caddy:2.11.4-builder-alpine (CVE-2026-78667/78669/97031). caddy:2.11.7-builder-alpine ships Go 1.27.2, and the go get floors move to x/net v0.60.0, which needs x/crypto v0.57.0 and x/text v0.42.0. Caddy 2.11.7 requires grpc v1.83.2, otel v1.46.0 and go-jose/v4 v4.1.5, so those pins and the grpc assertion rise to match; an explicit go get of the older grpc would otherwise walk caddy itself back to an older release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Linked to Plane Work Item(s) This comment was auto-generated by Plane |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to No actionable merge-blocking issue is identified. The reported build checks are limited to linux/amd64; arm64 builds and live traffic remain unverified. Pre-merge checks |
|
Description
The 2026-10-12 nightly Trivy scan failed plane-proxy, plane-frontend, plane-admin and plane-aio-community. The cause is the caddy binary they ship:
golang.org/x/netv0.57.0 (CVE-2026-78669) and the Go 1.26.8 stdlib fromcaddy:2.11.4-builder-alpine(CVE-2026-78667/78669/97031).caddy:2.11.4-builder-alpine→caddy:2.11.7-builder-alpine, which ships Go 1.27.2. This also upgrades Caddy itself to 2.11.7.go getfloors: x/net v0.60.0, x/crypto v0.57.0, x/text v0.42.0. x/net v0.60.0 requires the other two, and a lower text pin would walk x/net back.go get, Go would downgrade Caddy itself to fit.apps/proxy/Dockerfile.ce,apps/web/Dockerfile.web,apps/admin/Dockerfile.admin. The runtimecaddy:2.11.4-alpinestage is unchanged, since its binary is replaced by the one built here.Mirrors makeplane/plane-ee#10234, on the same branch name, so one scan dispatch can cover both repos.
Type of Change
Screenshots and Media (if applicable)
N/A
Test Scenarios
All built locally for linux/amd64 and scanned with
aquasec/trivy:0.70.0 --severity CRITICAL,HIGH --ignore-unfixed --exit-code 1, using the.trivyignore.yamlthe nightly scan passes to every leg.:preview)caddy-builderstage)caddy-builderstage)go version -mon all three binaries: go1.27.2, caddy v2.11.7, x/net v0.60.0, grpc v1.83.2. The in-build grpc assertion passes.caddy validateonCaddyfile.cefails without runtime env ("server block without any key"). The published Caddy 2.11.4 image fails identically, so that's pre-existing and needs the runtime env.References
🤖 Generated with Claude Code
Summary by CodeRabbit